<?php
class DeptHelper
{
	public static function delete($dept_id) {
		return Db::get('Dept')->delete()->where(array('id'=>$dept_id))->exec();
	}

	public static function getReviewers($dept_id, $type2=0){
		return Db::get('Dept')->select($type2?'reviewers2':'reviewers')->where(array('id'=>$dept_id))->getCol();
	}
	
}
?>
